Print all subsets of an array